<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
			this.$store.dispatch('initUser')
			this.$store.dispatch('initList')
		},
		
		onShow: function() {
			console.log('App Show')
			if(this.$store.state.user){
				this.$store.dispatch('getShareUrl')
				console.log(123);
			}
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/*每个页面公共css */
	@import url("/common/uni.css");
	@import url("/common/common.css");
	@import url("/common/free.css");
	@import url("/common/icon.css");
</style>
